<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>专家查询内容</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="admin/css/user.css">
	<link rel="stylesheet" type="text/css" href="hmk/css/common.css">
	<link rel="stylesheet" type="text/css" href="hmk/css/eventaccept.css">
	<script language="javascript" type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="js/jquery.alphanumeric.pack.js"></script>
	<script type="text/javascript" src="js/jquery.validate.pack.js"></script> 
	<script language="javascript" type="text/javascript" src="hmk/js/addExpert.js"></script>
	
	<!-- 原来是用 selDeptAndRolet.js -->
	<script type="text/javascript" src="admin/js/selDeptAndRoleByExpert.js"></script> 
	<script type="text/javascript" src="/ag/My97DatePicker/WdatePicker.js" defer="defer"></script>
	
	<!-- file upload  -->
	<link type="text/css" href="/ag/css/dialog/jquery.ui.all.css" rel="stylesheet" />
	<link type="text/css" href="/ag/css/dialog/demos.css" rel="stylesheet" />
	<!-- JQuery的UI插件库 -->
	<script language="javascript" type="text/javascript" src="js/jquery.bgiframe-2.1.1.js" ></script>
	<!--  <script type="text/javascript" src="/ag/css/dialog/jquery.bgiframe-2.1.1.js"></script>-->
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.core.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.mouse.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.button.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.draggable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.position.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.resizable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.dialog.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.effects.core.js"></script>
	<script type="text/javascript" src="/ag/js/accrodin//jquery.ui.accordion.js"></script>
	
  </head>
  
  <body>
  <form id="acceptForm" action="" method="post">
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="hmk/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="hmk/images/tab_05.gif"><img src="hmk/images/311.gif" width="16" height="16" /> <span class="STYLE4">专家列表</span></td>
        <td width="281" background="hmk/images/tab_05.gif"><table border="0" align="right" cellpadding="0" cellspacing="0">
            <tr>
              <td width="60"></td>
            </tr>
        </table></td>
        <td width="14"><img src="hmk/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="9" background="hmk/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#dceffd"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#84b1d3">
          <tr>
            <td  colspan="6" height="26" background="hmk/images/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">新增专家</div></td>
          </tr>
          
           <tr>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE1"><span style="color:#FF0000">*</span>专家登录名：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            	<input id="LoginNameID" name="user.UId" type="text"  /></div></td>
             <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1"><span style="color:#FF0000">*</span>专家姓名：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            	<input id="expNameID" name="expNameID" type="text"  /></div></td>
			<td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center"><span style="color:#FF0000">*</span>专家状态：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            	  
            	<select id="status_id" name="status_id" style="width:152px; height:20px" >
					<option value="" selected="selected">--请选择专家状态--</option>
			   </select>
			   
			   </div>
			   </td>
          </tr>
          
          <tr>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE1"><span style="color:#FF0000">*</span>专家类别：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
				<select id="wukutype_id" name="wukutype_id" style="width:152px; height:20px" >
					<option value="" selected="selected">--请选择专家类别--</option>
			   </select></div></td>
			<td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center"><span class="STYLE2 STYLE1"><span style="color:#FF0000">*</span>专家领域：</span></div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            	<select id="expertareaID" name="expertareaID" style="width:152px; height:20px" >
					<option value="" selected="selected">--请选择专家领域--</option>
			   </select></div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1"><span style="color:#FF0000">*</span>专家性别：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center">
            <input name="sex" type="radio"  value="1" checked />男 &nbsp;&nbsp;<input name="sex" type="radio"  value="0" />女
            </div></td>
          </tr>
          
          <tr>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE1"><span style="color:#FF0000">*</span>登录密码：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            	<input id="pwdID" name="pwdID" type="password"  /></div></td>
			<td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center"><span class="STYLE2 STYLE1"><span style="color:#FF0000">*</span>密码确定：</span></div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            	<input id="rePwdID" name="rePwdID" type="password"  /></div></td>
           <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE1">出生年月：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            	<input id="expBirthdayID" name="expBirthdayID" type="text" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd '})"  /></div></td>
          </tr>
		  
		  <tr>
            
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">工作单位：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            <input id="expUnitID" name="expUnitID" type="text"  /></div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1"><span style="color:#FF0000">*</span>手机号码：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            <input id="expPhoneID" name="expPhoneID" type="text"  /></div></td>
             <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE1">联系方式：<br />（传真）</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            	<input id="expFaxID" name="expFaxID" type="text"  /></div></td>
          </tr>
		  
		  <tr>
           
			<td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center"><span class="STYLE2 STYLE1">联系方式：<br />（电话）</span></div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            	<input id="expDianHuaID" name="expDianHuaID" type="text"  /></div></td>
           <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">邮箱地址：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center">
          	<input id="expEmailID" name="expEmailID" type="text"  />
            </div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center"><span class="STYLE2 STYLE1">最后学历</span>：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center">
            	<input id="expEdutID" name="expEdutID" type="text"  />&nbsp;</div></td>
          </tr>
		  
		  <tr>
		    
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE1">最后学位：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
            	<input id="expDegreeID" name="expDegreeID" type="text"   />&nbsp;</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center"><span class="STYLE2 STYLE1">所学专业</span>：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center">
            	<input id="expProID" name="expProID" type="text"  />&nbsp;</div></td>
            	<td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE1">行政职务：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
           	 <input id="expPostID" name="expPostID" type="text"  />&nbsp;</div></td>
          </tr>
		  
		  <tr>
            
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">职称：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            	<input id="expTitleID" name="expTitleID" type="text"   />&nbsp;</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">毕业院校：</div></td>
            <td width="8%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
            	<input id="expSchoolID" name="expSchoolID" type="text" />&nbsp;</div></td>
            <td colspan="2" width="7%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE1"></div></td>
            
          </tr>
          
          <tr>
            <td width="7%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE1">专家头像：</div></td>
            <td width="7%" height="30px" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
             	<!--  <input id="" name="" type="file" /> <input id="" name="" type="button" value="上传头像" /> -->
             	<input id="b_bialog" name="dialog" type="button" value="添加头像" />
            </div></td>
			<td colspan="4" width="10%" height="30px" bgcolor="#FFFFFF"><div align="center">
				  <div id="paListDIV" style="display:none">
				  	<div><img src='lzm/images/doc.gif'/>
				  	<span  id='FJID' style="display:none"></span>
				  	<span  id='FJNameID' ></span>
				  	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				  	<span class='dell'><a style='cursor:pointer' onclick='delFJ(this)'>删除</a></span>
				  	</div>
				  </div>
			</div></td>
          </tr>
          
          <tr class="trtab">
            <td class="tdtab" colspan="3">
             	<span class="tdspan"><span style="color:red">*</span>所属部门：</span><span id="deptRestult"></span><input id='selectDept' type="button" value='选择'/>
			</td>
			<td class="tdtab" colspan="3">
             	<span class="tdspan"><span style="color:red">*</span>所属角色：</span><span id="roleRestult"></span><input id='selectRole' type="button" value='选择'/>
			</td>
          </tr>
          
          <!--
          <tr class="trtab">
            <td class="tdtab" colspan="6">
            	<span class="tdspan"><span style="color:red">*</span>部门类型：</span>
            	<select id="deptType" name="deptType" style="width:100"></select>
			</td>
          </tr>
          <tr class="trtab">
            <td class="tdtab" colspan="6"> 
            <table width="514" align="left">
            	<tr><td width="160" align="center">部门列表 </td>
				<td width="32" align="center"></td>
				<td width="160" align="center"><span style="color:red">*</span>所属部门</td>
				<td width="32" align="center"></td> 
				<td width="160" align="center">负责部门</td>
				</tr>
   		   		<tr><td width="45%" height="150px">
				<select style="width:150;height:150" id="allDept" 
					name="allDept" size="6" multiple="multiple"> </select>
				</td>
				<td width="10%" align="center">
					<img id="addDept" src="wzp/images/arrow_right.gif"/>
					<br/>
					<img id="delDept" src="wzp/images/arrow_left.gif"/>
				</td>
				<td width="45%" height="150px">
				<select style="width:150;height:150" id="selDept"  
					name="selDept" size="6" multiple="multiple"></select>
				</td>
				<td width="10%" align="center">
					<img id="addLeadDept" src="wzp/images/arrow_right.gif"/>
					<br/>
					<img id="delLeadDept" src="wzp/images/arrow_left.gif"/>
				</td>
				<td width="45%" height="150px">
				<select style="width:150;height:150" id="leadDept"  
					name="leadDept" size="6" multiple="multiple"></select>
				</td>
				</tr>
			</table>
			</td>
          </tr>
          
          
          <tr class="trtab">
            <td class="tdtab" colspan="6">
            <table width="352" align="left">
            	<tr>
				<td width="160" align="center">角色列表</td>
				<td width="32" align="center"></td> 
				<td width="160" align="center"><span style="color:red">*</span>已选角色</td>
				</tr>
   		   		<tr><td width="45%" height="150px">
				<select style="width:150;height:150" id="allRole" 
					name="allRole" size="6" multiple="multiple"> </select>
				</td>
				<td width="10%" align="center">
					<img id="addRole" src="wzp/images/arrow_right.gif"/>
					<br/>
					<img id="delRole" src="wzp/images/arrow_left.gif"/>
				</td>
				<td width="45%" height="150px">
				<select style="width:150;height:150" id="selRole"  
					name="selRole" size="6" multiple="multiple"></select>
				</td>
				</tr>
		  	</table>
			</td>
          </tr>
         vvvvv -->
		  
		  
		  <tr>
            <td width="7%" height="30px" bgcolor="#FFFFFF"><div align="center" class="STYLE1">专家简介：</div></td>
            <td colspan="5" width="10%" height="30px" bgcolor="#FFFFFF" class="STYLE2"><div align="left" class="STYLE2 STYLE1">
              <textarea id=expRusumeID name="expRusume" rows="10" style="width:95%";></textarea>
            </div></td>
          </tr>

        </table></td>
        <td width="9" background="hmk/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="hmk/images/tab_20.gif" width="15" height="29" /></td>
        <td background="hmk/images/tab_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="25%" height="29" nowrap="nowrap"><span class="STYLE1">&nbsp;</span></td>
            <td width="75%" valign="top" class="STYLE1"><div align="right">
				<table width="100%">
				<tr>
					<td width="30%" align="center"><input  type="submit" value="保存" style="width:80px"/></td>
					<td width="70%" align="left"><input id="reset_EXP" name="addlaw" type="button" value="重置" style="width:80px" /></td>
				</tr>
				</table>
			</div></td>
          </tr>
        </table></td>
        <td width="14"><img src="hmk/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>
	<div id="dialog-form" title="添加专家头像" style="display: none">
			<iframe frameborder="0" name="uploadFrame" height="300" width="100%"
				scrolling="auto" src="hmk/uploadPic.jsp" id="uploadFrame"></iframe>
	</div>
	</form>
<!-- 弹出窗口的div -->
	<div class="demo" style="display:none;">
	
    <!-- 部门选择窗口 -->	
    <div id="deptChooseWindow">
        <table width='98%' border='0' width="98%" height="98%" cellpadding="3" cellspacing="1" 
			   align="center" style="background-color: #1177bd">
	          <tr> <td bgcolor="#ffffff">
	                <div id="DeptForm">
                              <table width="540" align="center">
                                 <tbody id="selectArea" >
							  <tr id='deptArea'>
								  <td align="left">
									   <span class="span_n" >部门类型:药监内部</span>
									   <!-- <select id="deptType" class="deptType" ></select> -->
								  </td>
							   </tr>
							   <tr>
								  <td>
									 <div style="margin-top: 10px">
										<table width="480" align="center">
										<tr>
									  <td width="200" align="center"><span class="span_n" style="color: #960;">可选部门</span></td>
									  <td width="80" align="center" ></td>
									  <td width="200" align="center" ><span class="span_n" style="color: #960;">已选部门 </span></td>
									   </tr>
									   <tr>
									  <td width="200" height="200px" align="right" style="display:none;">
										<select style="width:300;height:180" id="subDepts" name="all" size="6" multiple="multiple">
									    </select>
								      </td>
								      <!-- czy -->
								       <td width="250px" height="350px"  id="deptultd2" align="center" width="190px" height="180px" >
								         <div align="left" id="deptuldiv2" style="height:350px; width:310px; overflow-y:auto; overflow-x:auto; border:1px solid #8ACEEC !important">
										 <ul style="list-style:none" id="deptul2"></ul>
										 </div>
									 </td>
								      <!-- czy,end -->
									  <td width="80" align="center" > 
									    <img id="addDept" src="wzp/images/arrow_right.gif" style="cursor: pointer;"/>
									    <br/><br/>
									    <img id="delDept" src="wzp/images/arrow_left.gif" style="cursor: pointer;"/>
								      </td>
								      
								      <td width="250px" height="350px" align="left" >
                                       <select style="width:190px;height:350px" id="selDepts" name="sel" size="6" multiple="multiple">
                                       </select>
								      </td>
								      
								      
									</tr>
									</table>
								    </div>
								  </td>
							      <td></td>   
							   </tr>
						 </tbody>
						 <tr class="trtab">
				          	<td align="center" colspan="2"> 
				          		<button id="selDeptOK" class="submit" >确定</button>
				          		<span style="padding-left:20">
				          		<button id="selDeptCancel" class="submit" >取消</button></span>
				          	</td>
				          </tr>
                            </table>
	                 </div>
	              </td>
	          </tr>	       
	    </table>
    </div>
	<!-- 角色选择窗口 -->	
    <div id="roleChooseWindow">
        <table width='98%' border='0' width="98%" height="98%" cellpadding="3" cellspacing="1" 
			   align="center" style="background-color: #1177bd">
	          <tr> <td bgcolor="#ffffff">
	               <div id="DeptForm">
                              <table width="540" align="center">
                                 <tbody >
							   <tr>
								  <td>
									 <div style="margin-top: 10px">
										<table width="480" align="center">
										<tr>
									  <td width="200" align="center"><span class="span_n" style="color: #960;">可选角色</span></td>
									  <td width="80" align="center" ></td>
									  <td width="200" align="center" ><span class="span_n" style="color: #960;">已选角色 </span></td>
									   </tr>
									   <tr>
									  <td width="200" height="200px" align="right">
										<select style="width:300;height:180" id="subRoles" name="all" size="6" multiple="multiple">
									    </select>
								      </td>
									  <td width="80" align="center" > 
									    <img id="addRole" src="wzp/images/arrow_right.gif" style="cursor: pointer;"/>
									    <br/><br/>
									    <img id="delRole" src="wzp/images/arrow_left.gif" style="cursor: pointer;"/>
								      </td>
									  <td width="200" height="200px" align="left" >
                                       <select style="width:300;height:180" id="selRoles" name="sel" size="6" multiple="multiple">
                                       </select>
								      </td>
									</tr>
									</table>
								    </div>
								  </td>
							      <td></td>   
							   </tr>
						 </tbody>
						 <tr class="trtab">
				          	<td align="center" colspan="2"> 
				          		<button id="selRoleOK" class="submit" >确定</button>
				          		<span style="padding-left:20">
				          		<button id="selRoleCancel" class="submit" >取消</button></span>
				          	</td>
				          </tr>
                            </table>
                      </div>
	              </td>
	          </tr>	       
	    </table>
    </div>
    <div id="dialog-message" title="操作结果" style="display:none"> 
	 
		<div id="message" style="padding-top:15"> 
		</div> 
	</div> 
	</div>
	<!-- 弹出窗口的end -->
  </body>
</html>
